const objectCheck = {
    userInfo_add: {
        usericon: {
            type: "String",
            required: true,
            message: "用户头像不能为空"
        },
        username: {
            type: "String",
            required: true,
            message: "用户名不能为空"
        },
        brief: {
            type: "String",
        },
        work_years: {
            type: "String",
        },
        tel: {
            type: "String",
        },
        email: {
            type: "String",
        },
        address: {
            type: "String",
        },
        is_show: {
            type: "Number",
            message: "是否显示不能为空"
        },
    },
    titleAndBrfie_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        brfie: {
            type: "String",
            required: true,
            message: "简介不能为空"
        },
        is_show: {
            type: "Number",
            message: "是否显示不能为空"
        },
    },
    links_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        url: {
            type: "String",
            required: true,
            message: "链接不能为空"
        },
        is_show: {
            type: "Number",
            message: "是否显示不能为空"
        },
    },
    search_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        url: {
            type: "String",
            message: "链接"
        },
        is_stop: {
            type: "Number",
            message: "是否停用"
        },
        is_activity: {
            type: "Number",
            message: "是否活动"
        },
        is_show: {
            type: "Number",
            message: "是否显示不能为空"
        },
    },
    label_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
    },
    banner_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        ImgUrl: {
            type: "String",
            desc: "图片地址",
        },
        mpPath: {
            type: "String",
            desc: "小程序路径",
        },
        path: {
            type: "String",
            desc: "跳转路径",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_text: {
            type: "Number",
            desc: "是否显示文字",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        },
    },
    nav_add: {
        pid: {
            type: "String",
            desc: "父级id",
        },
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        icon: {
            type: "String",
            desc: "图标",
        },
        path: {
            type: "String",
            desc: "路径",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        },
    },
    article_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        reading: {
            type: "Number",
            required: true,
            message: "阅读量不能为空"
        },
        typeID: {
            type: "String",
            required: true,
            message: "类型不能为空"
        },
        imgUrl: {
            type: "String",
            desc: "图片地址",
        },
        brfie: {
            type: "String",
            desc: "简介",
        },
        content: {
            type: "String",
            desc: "内容",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    SelfEvaluation_add: {
        content: {
            type: "String",
            required: true,
            message: "评价内容不能为空",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    Ability_add: {
        ability: {
            type: "String",
            required: true,
            message: "能力不能为空",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    school_add: {
        times: {
            type: "String",
            required: true,
            message: "就读年限不能为空",
        },
        school: {
            type: "String",
            required: true,
            message: "学校不能为空",
        },
        major: {
            type: "String",
            required: true,
            message: "专业不能为空",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    project_add: {
        title: {
            type: "String",
            required: true,
            message: "项目名称不能为空",
        },
        time: {
            type: "String",
            required: true,
            message: "项目时间不能为空",
        },
        introduce: {
            type: "String",
            required: true,
            message: "项目介绍不能为空",
        },
        duty: {
            type: "String",
            required: true,
            message: "项目职责不能为空",
        },
        technology: {
            type: "String",
            required: true,
            message: "所用技术不能为空",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    web_userInfo_add: {
        username: {
            type: "String",
            required: true,
            message: "用户名不能为空",
        },
        password: {
            type: "String",
            required: true,
            message: "密码不能为空",
        },
        icon: {
            type: "String",
            desc: "头像",
        },
        email: {
            type: "String",
            required: true,
            message: "邮箱不能为空",
        },
        types: {
            type: "Number",
            desc: "用户来源",
        },
        tel: {
            type: "String",
            desc: "电话",
        },
        openid: {
            type: "String",
            desc: "微信openid",
        },
        admin_user_id: {
            type: "String",
            desc: "管理员id",
        },
        is_stop: {
            type: "Number",
            desc: "是否停用",
        },
    },
    role_add: {
        title: {
            type: "String",
            required: true,
            message: "角色名称不能为空",
        },
        role: {
            type: "String",
            desc: "菜单权限",
        },
        jurisdiction: {
            type: "String",
            desc: "操作权限",
        },
        is_not_edit: {
            type: "Number",
            desc: "是否不可编辑",
        },
    },
    top_img_add: {
        top_img_name: {
            type: "String",
            required: true,
            message: "图片名称不能为空",
        },
        image_url: {
            type: "String",
            required: true,
            message: "图片地址不能为空",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        },
    },
    slider_add: {
        pid: {
            type: "String",
            desc: "父级id",
        },
        title: {
            type: "String",
            required: true,
            message: "标题不能为空",
        },
        title_en: {
            type: "String",
            desc: "英文标题",
        },
        path: {
            type: "String",
            desc: "页面跳转路径",
        },
        pageUrl: {
            type: "String",
            desc: "页面文件路径",
        },
        icon_name: {
            type: "String",
            desc: "图标分类名称",
        },
        icon: {
            type: "String",
            desc: "图标",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    protocol_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空",
        },
        content: {
            type: "String",
            message: "内容不能为空",
        },
        type: {
            type: "String",
            required: true,
            message: "类型不能为空",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        },
        is_del: {
            type: "Number",
            desc: "是否删除",
        }
    }
}



module.exports = objectCheck;





